package
{
  public class BookmarkType
  {
    public static const FOLDER:int = 0;
    public static const AVI:int = 1;
    public static const MP3:int = 2;
    public static const PDF:int = 3;
    public static const TXT:int = 4;

    public static function stringOf(value:int):String
    {
      switch (value)
      {
        case FOLDER:
          return "-";
        case AVI:
          return ".avi";
        case MP3:
          return ".mp3";
        case PDF:
          return ".pdf";
        case TXT:
          return ".txt";
        default:
          return "";
      }
    }

  }
}